<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1 th:text="${u1.name}"></h1>
<h1 th:text="${u1.email}"></h1>
<div th:each="u,user:${list}">
    <h1 th:text="${u.email}"></h1>
</div>
</body>
</html>